package control;

import java.util.ArrayList;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.graphics.Image;

public class Storage {

	private static Storage store;
	private String player, enemy;
	private int size;
	public static ArrayList<Image> imageList = new ArrayList<Image>();

	private Storage() {

	}

	public static synchronized Storage getInstance() {
		if (store == null) {
			store = new Storage();
		}
		return store;
	}

	public String getPlayer() {
		return player;
	}

	public void setPlayer(String player) {
		this.player = player;
	}

	public String getEnemy() {
		return enemy;
	}

	public void setEnemy(String enemy) {
		this.enemy = enemy;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public static ArrayList<Image> getImageList() {
		
		return imageList;
	}

}
